Rational Root Lemma
Suppose
is a polynomial with integer coefficients
Using the divisor counting function, this narrows down the number of possible rational roots to check to at most
Similarly, any rational polynomial can have it's denominators cleared such that the above theorem applies.
Proof
Suppose
Multiplying through by
As such, moving
Given that both sides of this equation are integers, we can conclude that
We can also, from (1), move